<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
		<%@ page import="com.mcms.web.vo.DictCache"%>
			<%@ page import="java.util.*"%>
<%@ page import="com.mcms.util.MapUtil"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	Map mapResult = (Map)request.getAttribute("mapResult");
	Map inquireMap = (Map)mapResult.get("inquireInfo");
	Object o = inquireMap.get("refer_doctor");
	if(o == null || "".equals(o)){
		o = "0";
	}
	String str = o+"";
	Integer intest = Integer.parseInt(str);
	//String inquiretest = intest.toString();
%>	
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="<%=basePath %>mcms/themes/css/login.css" rel="stylesheet" type="text/css" />
<title>客户问诊信息</title>
</head>
<body>
<div class="pageContent">
		<div class="pageFormContent" layoutH="56">
			
			<!-- 问诊信息区begin -->
			<p>
				<label>来院渠道：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("CHANNEL")).get( (String)inquireMap.get("channel") )%></span>
			</p>
			<p>
				<label>咨询项目：</label>
				<span  class="unit"/>  <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("REFER_ITEM")).get( (String)inquireMap.get("refer_item") )%></span>
			</p>
			<p>
				<label>咨询医生：</label>
				<span  class="unit"/> 
					<%if(inquireMap!=null && intest!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("USER")).get( intest )%>
				</span>
			</p>
			<p>
				<label>脱发情况：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("BALD_CONDITION")).get( (String)inquireMap.get("bald_condition") )%></span>
			</p>
			<p>
				<label>脱发时长：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("BALD_DURATION")).get( (String)inquireMap.get("bald_duration") )%></span>
			</p>
			<p>
				<label>脱发级别：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("BALD_LEVEL")).get( (String)inquireMap.get("bald_level") )%></span>
			</p>
			<p>
				<label>是否有家族遗传史：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("YN")).get( (String)inquireMap.get("is_inherit") )%></span>
			</p>
			<p>
				<label>是否有药物治疗史：</label>
				<span  class="unit"/> <%if(inquireMap!=null)%><%=((Map)DictCache.getInstance().getDictMapByType("YN")).get( (String)inquireMap.get("is_treat") )%></span>
			</p>
			
			<!-- 问诊信息区end -->
</div>
</div>
</body>
</html>